Xbasic

helper::GoogleSheetAppendSheetText Method

Syntax

AppendSheetText as L(sheetname as C,values as C[, separator as C[, range as C]])

Arguments

sheetnameCharacter

Name of sheet to append text data to.

valuesCharacter

Delimited text (delimited by separator)

separatorCharacter

Separator to delimit text with.

rangeCharacter

Optional range, if we don't want to use the first column, and last unused row.

Returns

resultLogical

 

Description

Append cells in first available empty space in sheet. Values are specified as crlf delimited rows of delimited cells. Separator defines the delimiter, which is assumed to be a comma if ommitted.

Example

dim gs as helper::GoogleSheet
gs.namedresource= "<namedresource>"
gs.spreadsheet= "<spreadsheetid>"
gs.AppendSheetText("customers","billy|kid","|")